package com.xmall.auth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xmall.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 后台资源表
 * </p>
 *
 * @author liuzh
 * @since 2020-06-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "SysResource对象", description = "后台资源表" )
public class SysResource extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private String id;


    @ApiModelProperty(value = "创建时间" )
    private java.util.Date createTime;

    @ApiModelProperty(value = "资源名称" )
    private String name;

    @ApiModelProperty(value = "资源URL" )
    private String url;

    @ApiModelProperty(value = "描述" )
    private String description;

    @ApiModelProperty(value = "资源分类ID" )
    private Long categoryId;


}
